﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Imaging;
using System.Windows;

namespace myBoard.Framework.Controls.Navigation
{
    public delegate void IBreadcrumbExplorerNextEntitySelectedHandler(IBreadcrumbExplorerEntity source, IBreadcrumbExplorerEntity NextEntity);

    public interface IBreadcrumbExplorerEntity
    {
        string Name { get; set; }
        BitmapImage Icon { get; set; }
        FrameworkElement GetControl();
        void Dispose();
        void Update(object newValue);
        event IBreadcrumbExplorerNextEntitySelectedHandler IBreadcrumbExplorerNextEntitySelected;        
    }
}
